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

(4) Complex Obligation (AND)

(5) Obligation:

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

U961(active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


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

Recursive Path Order [RPO].
Precedence:
active1 > U96^11

The following usable rules [FROCOS05] were oriented: none

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

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

(8) 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: Recursive Path Order [RPO].
Precedence:
mark1 > U96^11

The following usable rules [FROCOS05] were oriented: none

(9) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(10) PisEmptyProof (EQUIVALENT transformation)

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

(11) TRUE

(12) Obligation:

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

U951(X1, mark(X2)) → U951(X1, X2)
U951(mark(X1), X2) → U951(X1, X2)
U951(active(X1), X2) → U951(X1, X2)
U951(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(13) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U951(X1, mark(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(x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U95^11

The following usable rules [FROCOS05] were oriented: none

(14) Obligation:

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

U951(mark(X1), X2) → U951(X1, X2)
U951(active(X1), X2) → U951(X1, X2)
U951(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(15) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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, x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(16) Obligation:

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

U951(active(X1), X2) → U951(X1, X2)
U951(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(17) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U951(active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U95^11

The following usable rules [FROCOS05] were oriented: none

(18) Obligation:

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

U951(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(19) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U951(X1, active(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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(20) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(21) PisEmptyProof (EQUIVALENT transformation)

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

(22) TRUE

(23) Obligation:

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

U941(X1, mark(X2), X3) → U941(X1, X2, X3)
U941(mark(X1), X2, X3) → U941(X1, X2, X3)
U941(X1, X2, mark(X3)) → U941(X1, X2, X3)
U941(active(X1), X2, X3) → U941(X1, X2, X3)
U941(X1, active(X2), X3) → U941(X1, X2, X3)
U941(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(24) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U941(X1, X2, mark(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)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U94^11

The following usable rules [FROCOS05] were oriented: none

(25) Obligation:

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

U941(X1, mark(X2), X3) → U941(X1, X2, X3)
U941(mark(X1), X2, X3) → U941(X1, X2, X3)
U941(active(X1), X2, X3) → U941(X1, X2, X3)
U941(X1, active(X2), X3) → U941(X1, X2, X3)
U941(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U941(X1, mark(X2), 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(x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U94^12

The following usable rules [FROCOS05] were oriented: none

(27) Obligation:

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

U941(mark(X1), X2, X3) → U941(X1, X2, X3)
U941(active(X1), X2, X3) → U941(X1, X2, X3)
U941(X1, active(X2), X3) → U941(X1, X2, X3)
U941(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(28) 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: Combined order from the following AFS and order.
U941(x1, x2, x3)  =  U941(x1, x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U94^13

The following usable rules [FROCOS05] were oriented: none

(29) Obligation:

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

U941(active(X1), X2, X3) → U941(X1, X2, X3)
U941(X1, active(X2), X3) → U941(X1, X2, X3)
U941(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(30) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U941(active(X1), X2, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U94^11

The following usable rules [FROCOS05] were oriented: none

(31) Obligation:

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

U941(X1, active(X2), X3) → U941(X1, X2, X3)
U941(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(32) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U941(X1, active(X2), 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(x1, x2)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U94^12

The following usable rules [FROCOS05] were oriented: none

(33) Obligation:

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

U941(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(34) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U941(X1, X2, active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U94^11

The following usable rules [FROCOS05] were oriented: none

(35) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(36) PisEmptyProof (EQUIVALENT transformation)

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

(37) TRUE

(38) Obligation:

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

U931(X1, mark(X2), X3) → U931(X1, X2, X3)
U931(mark(X1), X2, X3) → U931(X1, X2, X3)
U931(X1, X2, mark(X3)) → U931(X1, X2, X3)
U931(active(X1), X2, X3) → U931(X1, X2, X3)
U931(X1, active(X2), X3) → U931(X1, X2, X3)
U931(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(39) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U931(X1, X2, mark(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)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U93^11

The following usable rules [FROCOS05] were oriented: none

(40) Obligation:

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

U931(X1, mark(X2), X3) → U931(X1, X2, X3)
U931(mark(X1), X2, X3) → U931(X1, X2, X3)
U931(active(X1), X2, X3) → U931(X1, X2, X3)
U931(X1, active(X2), X3) → U931(X1, X2, X3)
U931(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(41) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U931(X1, mark(X2), 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(x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U93^12

The following usable rules [FROCOS05] were oriented: none

(42) Obligation:

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

U931(mark(X1), X2, X3) → U931(X1, X2, X3)
U931(active(X1), X2, X3) → U931(X1, X2, X3)
U931(X1, active(X2), X3) → U931(X1, X2, X3)
U931(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U931(mark(X1), X2, 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(x1, x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U93^13

The following usable rules [FROCOS05] were oriented: none

(44) Obligation:

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

U931(active(X1), X2, X3) → U931(X1, X2, X3)
U931(X1, active(X2), X3) → U931(X1, X2, X3)
U931(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U931(active(X1), X2, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U93^11

The following usable rules [FROCOS05] were oriented: none

(46) Obligation:

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

U931(X1, active(X2), X3) → U931(X1, X2, X3)
U931(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(47) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U931(X1, active(X2), 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(x1, x2)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U93^12

The following usable rules [FROCOS05] were oriented: none

(48) Obligation:

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

U931(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(49) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U931(X1, X2, active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U93^11

The following usable rules [FROCOS05] were oriented: none

(50) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(51) PisEmptyProof (EQUIVALENT transformation)

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

(52) TRUE

(53) Obligation:

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

U921(X1, mark(X2), X3) → U921(X1, X2, X3)
U921(mark(X1), X2, X3) → U921(X1, X2, X3)
U921(X1, X2, mark(X3)) → U921(X1, X2, X3)
U921(active(X1), X2, X3) → U921(X1, X2, X3)
U921(X1, active(X2), X3) → U921(X1, X2, X3)
U921(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(54) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U921(X1, X2, mark(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)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U92^11

The following usable rules [FROCOS05] were oriented: none

(55) Obligation:

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

U921(X1, mark(X2), X3) → U921(X1, X2, X3)
U921(mark(X1), X2, X3) → U921(X1, X2, X3)
U921(active(X1), X2, X3) → U921(X1, X2, X3)
U921(X1, active(X2), X3) → U921(X1, X2, X3)
U921(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(56) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U921(X1, mark(X2), 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(x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U92^12

The following usable rules [FROCOS05] were oriented: none

(57) Obligation:

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

U921(mark(X1), X2, X3) → U921(X1, X2, X3)
U921(active(X1), X2, X3) → U921(X1, X2, X3)
U921(X1, active(X2), X3) → U921(X1, X2, X3)
U921(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(58) 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: Combined order from the following AFS and order.
U921(x1, x2, x3)  =  U921(x1, x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U92^13

The following usable rules [FROCOS05] were oriented: none

(59) Obligation:

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

U921(active(X1), X2, X3) → U921(X1, X2, X3)
U921(X1, active(X2), X3) → U921(X1, X2, X3)
U921(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(60) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U921(active(X1), X2, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U92^11

The following usable rules [FROCOS05] were oriented: none

(61) Obligation:

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

U921(X1, active(X2), X3) → U921(X1, X2, X3)
U921(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(62) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U921(X1, active(X2), 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(x1, x2)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U92^12

The following usable rules [FROCOS05] were oriented: none

(63) Obligation:

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

U921(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U921(X1, X2, active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U92^11

The following usable rules [FROCOS05] were oriented: none

(65) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(66) PisEmptyProof (EQUIVALENT transformation)

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

(67) TRUE

(68) Obligation:

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

U911(X1, mark(X2), X3) → U911(X1, X2, X3)
U911(mark(X1), X2, X3) → U911(X1, X2, X3)
U911(X1, X2, mark(X3)) → U911(X1, X2, X3)
U911(active(X1), X2, X3) → U911(X1, X2, X3)
U911(X1, active(X2), X3) → U911(X1, X2, X3)
U911(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(69) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U911(X1, X2, mark(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)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U91^11

The following usable rules [FROCOS05] were oriented: none

(70) Obligation:

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

U911(X1, mark(X2), X3) → U911(X1, X2, X3)
U911(mark(X1), X2, X3) → U911(X1, X2, X3)
U911(active(X1), X2, X3) → U911(X1, X2, X3)
U911(X1, active(X2), X3) → U911(X1, X2, X3)
U911(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U911(X1, mark(X2), 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(x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U91^12

The following usable rules [FROCOS05] were oriented: none

(72) Obligation:

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

U911(mark(X1), X2, X3) → U911(X1, X2, X3)
U911(active(X1), X2, X3) → U911(X1, X2, X3)
U911(X1, active(X2), X3) → U911(X1, X2, X3)
U911(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U911(mark(X1), X2, 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(x1, x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U91^13

The following usable rules [FROCOS05] were oriented: none

(74) Obligation:

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

U911(active(X1), X2, X3) → U911(X1, X2, X3)
U911(X1, active(X2), X3) → U911(X1, X2, X3)
U911(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(75) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U911(active(X1), X2, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U91^11

The following usable rules [FROCOS05] were oriented: none

(76) Obligation:

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

U911(X1, active(X2), X3) → U911(X1, X2, X3)
U911(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(77) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U911(X1, active(X2), 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(x1, x2)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U91^12

The following usable rules [FROCOS05] were oriented: none

(78) Obligation:

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

U911(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(79) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U911(X1, X2, active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U91^11

The following usable rules [FROCOS05] were oriented: none

(80) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(81) PisEmptyProof (EQUIVALENT transformation)

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

(82) TRUE

(83) Obligation:

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

U811(active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(84) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Recursive Path Order [RPO].
Precedence:
active1 > U81^11

The following usable rules [FROCOS05] were oriented: none

(85) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(86) 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: Recursive Path Order [RPO].
Precedence:
mark1 > U81^11

The following usable rules [FROCOS05] were oriented: none

(87) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(88) PisEmptyProof (EQUIVALENT transformation)

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

(89) TRUE

(90) Obligation:

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

U711(active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(91) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Recursive Path Order [RPO].
Precedence:
active1 > U71^11

The following usable rules [FROCOS05] were oriented: none

(92) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(93) 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: Recursive Path Order [RPO].
Precedence:
mark1 > U71^11

The following usable rules [FROCOS05] were oriented: none

(94) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(95) PisEmptyProof (EQUIVALENT transformation)

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

(96) TRUE

(97) Obligation:

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

U621(active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(98) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Recursive Path Order [RPO].
Precedence:
active1 > U62^11

The following usable rules [FROCOS05] were oriented: none

(99) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(100) 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: Recursive Path Order [RPO].
Precedence:
mark1 > U62^11

The following usable rules [FROCOS05] were oriented: none

(101) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(102) PisEmptyProof (EQUIVALENT transformation)

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

(103) TRUE

(104) Obligation:

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

U611(X1, mark(X2)) → U611(X1, X2)
U611(mark(X1), X2) → U611(X1, X2)
U611(active(X1), X2) → U611(X1, X2)
U611(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(105) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U611(X1, mark(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(x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U61^11

The following usable rules [FROCOS05] were oriented: none

(106) Obligation:

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

U611(mark(X1), X2) → U611(X1, X2)
U611(active(X1), X2) → U611(X1, X2)
U611(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(107) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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, x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(108) Obligation:

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

U611(active(X1), X2) → U611(X1, X2)
U611(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U611(active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U61^11

The following usable rules [FROCOS05] were oriented: none

(110) Obligation:

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

U611(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U611(X1, active(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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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:

U521(active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


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

Recursive Path Order [RPO].
Precedence:
active1 > U52^11

The following usable rules [FROCOS05] were oriented: none

(117) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(118) 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: Recursive Path Order [RPO].
Precedence:
mark1 > U52^11

The following usable rules [FROCOS05] were oriented: none

(119) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(120) PisEmptyProof (EQUIVALENT transformation)

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

(121) TRUE

(122) Obligation:

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

U511(X1, mark(X2)) → U511(X1, X2)
U511(mark(X1), X2) → U511(X1, X2)
U511(active(X1), X2) → U511(X1, X2)
U511(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U511(X1, mark(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(x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U51^11

The following usable rules [FROCOS05] were oriented: none

(124) Obligation:

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

U511(mark(X1), X2) → U511(X1, X2)
U511(active(X1), X2) → U511(X1, X2)
U511(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(125) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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, x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(126) Obligation:

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

U511(active(X1), X2) → U511(X1, X2)
U511(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(127) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U511(active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U51^11

The following usable rules [FROCOS05] were oriented: none

(128) Obligation:

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

U511(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(129) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U511(X1, active(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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(130) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(131) PisEmptyProof (EQUIVALENT transformation)

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

(132) TRUE

(133) Obligation:

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

U461(active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(134) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Recursive Path Order [RPO].
Precedence:
active1 > U46^11

The following usable rules [FROCOS05] were oriented: none

(135) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(136) 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: Recursive Path Order [RPO].
Precedence:
mark1 > U46^11

The following usable rules [FROCOS05] were oriented: none

(137) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(138) PisEmptyProof (EQUIVALENT transformation)

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

(139) TRUE

(140) Obligation:

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

U451(X1, mark(X2)) → U451(X1, X2)
U451(mark(X1), X2) → U451(X1, X2)
U451(active(X1), X2) → U451(X1, X2)
U451(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(141) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U451(X1, mark(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(x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U45^11

The following usable rules [FROCOS05] were oriented: none

(142) Obligation:

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

U451(mark(X1), X2) → U451(X1, X2)
U451(active(X1), X2) → U451(X1, X2)
U451(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(143) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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, x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(144) Obligation:

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

U451(active(X1), X2) → U451(X1, X2)
U451(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(145) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U451(active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U45^11

The following usable rules [FROCOS05] were oriented: none

(146) Obligation:

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

U451(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(147) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U451(X1, active(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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(148) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(149) PisEmptyProof (EQUIVALENT transformation)

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

(150) TRUE

(151) Obligation:

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

U441(X1, mark(X2), X3) → U441(X1, X2, X3)
U441(mark(X1), X2, X3) → U441(X1, X2, X3)
U441(X1, X2, mark(X3)) → U441(X1, X2, X3)
U441(active(X1), X2, X3) → U441(X1, X2, X3)
U441(X1, active(X2), X3) → U441(X1, X2, X3)
U441(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(152) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U441(X1, X2, mark(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)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U44^11

The following usable rules [FROCOS05] were oriented: none

(153) Obligation:

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

U441(X1, mark(X2), X3) → U441(X1, X2, X3)
U441(mark(X1), X2, X3) → U441(X1, X2, X3)
U441(active(X1), X2, X3) → U441(X1, X2, X3)
U441(X1, active(X2), X3) → U441(X1, X2, X3)
U441(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(154) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U441(X1, mark(X2), 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(x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U44^12

The following usable rules [FROCOS05] were oriented: none

(155) Obligation:

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

U441(mark(X1), X2, X3) → U441(X1, X2, X3)
U441(active(X1), X2, X3) → U441(X1, X2, X3)
U441(X1, active(X2), X3) → U441(X1, X2, X3)
U441(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U441(mark(X1), X2, 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(x1, x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U44^13

The following usable rules [FROCOS05] were oriented: none

(157) Obligation:

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

U441(active(X1), X2, X3) → U441(X1, X2, X3)
U441(X1, active(X2), X3) → U441(X1, X2, X3)
U441(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(158) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U441(active(X1), X2, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U44^11

The following usable rules [FROCOS05] were oriented: none

(159) Obligation:

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

U441(X1, active(X2), X3) → U441(X1, X2, X3)
U441(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(160) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U441(X1, active(X2), 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(x1, x2)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U44^12

The following usable rules [FROCOS05] were oriented: none

(161) Obligation:

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

U441(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(162) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U441(X1, X2, active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U44^11

The following usable rules [FROCOS05] were oriented: none

(163) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(164) PisEmptyProof (EQUIVALENT transformation)

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

(165) TRUE

(166) Obligation:

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

U431(X1, mark(X2), X3) → U431(X1, X2, X3)
U431(mark(X1), X2, X3) → U431(X1, X2, X3)
U431(X1, X2, mark(X3)) → U431(X1, X2, X3)
U431(active(X1), X2, X3) → U431(X1, X2, X3)
U431(X1, active(X2), X3) → U431(X1, X2, X3)
U431(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(167) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U431(X1, X2, mark(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)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U43^11

The following usable rules [FROCOS05] were oriented: none

(168) Obligation:

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

U431(X1, mark(X2), X3) → U431(X1, X2, X3)
U431(mark(X1), X2, X3) → U431(X1, X2, X3)
U431(active(X1), X2, X3) → U431(X1, X2, X3)
U431(X1, active(X2), X3) → U431(X1, X2, X3)
U431(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(169) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U431(X1, mark(X2), 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(x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U43^12

The following usable rules [FROCOS05] were oriented: none

(170) Obligation:

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

U431(mark(X1), X2, X3) → U431(X1, X2, X3)
U431(active(X1), X2, X3) → U431(X1, X2, X3)
U431(X1, active(X2), X3) → U431(X1, X2, X3)
U431(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(171) 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: Combined order from the following AFS and order.
U431(x1, x2, x3)  =  U431(x1, x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U43^13

The following usable rules [FROCOS05] were oriented: none

(172) Obligation:

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

U431(active(X1), X2, X3) → U431(X1, X2, X3)
U431(X1, active(X2), X3) → U431(X1, X2, X3)
U431(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U431(active(X1), X2, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U43^11

The following usable rules [FROCOS05] were oriented: none

(174) Obligation:

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

U431(X1, active(X2), X3) → U431(X1, X2, X3)
U431(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(175) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U431(X1, active(X2), 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(x1, x2)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U43^12

The following usable rules [FROCOS05] were oriented: none

(176) Obligation:

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

U431(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(177) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U431(X1, X2, active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U43^11

The following usable rules [FROCOS05] were oriented: none

(178) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(179) PisEmptyProof (EQUIVALENT transformation)

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

(180) TRUE

(181) Obligation:

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

U421(X1, mark(X2), X3) → U421(X1, X2, X3)
U421(mark(X1), X2, X3) → U421(X1, X2, X3)
U421(X1, X2, mark(X3)) → U421(X1, X2, X3)
U421(active(X1), X2, X3) → U421(X1, X2, X3)
U421(X1, active(X2), X3) → U421(X1, X2, X3)
U421(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(182) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U421(X1, X2, mark(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)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U42^11

The following usable rules [FROCOS05] were oriented: none

(183) Obligation:

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

U421(X1, mark(X2), X3) → U421(X1, X2, X3)
U421(mark(X1), X2, X3) → U421(X1, X2, X3)
U421(active(X1), X2, X3) → U421(X1, X2, X3)
U421(X1, active(X2), X3) → U421(X1, X2, X3)
U421(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(184) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U421(X1, mark(X2), 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(x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U42^12

The following usable rules [FROCOS05] were oriented: none

(185) Obligation:

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

U421(mark(X1), X2, X3) → U421(X1, X2, X3)
U421(active(X1), X2, X3) → U421(X1, X2, X3)
U421(X1, active(X2), X3) → U421(X1, X2, X3)
U421(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(186) 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: Combined order from the following AFS and order.
U421(x1, x2, x3)  =  U421(x1, x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U42^13

The following usable rules [FROCOS05] were oriented: none

(187) Obligation:

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

U421(active(X1), X2, X3) → U421(X1, X2, X3)
U421(X1, active(X2), X3) → U421(X1, X2, X3)
U421(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(188) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U421(active(X1), X2, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U42^11

The following usable rules [FROCOS05] were oriented: none

(189) Obligation:

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

U421(X1, active(X2), X3) → U421(X1, X2, X3)
U421(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U421(X1, active(X2), 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(x1, x2)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U42^12

The following usable rules [FROCOS05] were oriented: none

(191) Obligation:

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

U421(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U421(X1, X2, active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U42^11

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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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:

U411(X1, mark(X2), X3) → U411(X1, X2, X3)
U411(mark(X1), X2, X3) → U411(X1, X2, X3)
U411(X1, X2, mark(X3)) → U411(X1, X2, X3)
U411(active(X1), X2, X3) → U411(X1, X2, X3)
U411(X1, active(X2), X3) → U411(X1, X2, X3)
U411(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U411(X1, X2, mark(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)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U41^11

The following usable rules [FROCOS05] were oriented: none

(198) Obligation:

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

U411(X1, mark(X2), X3) → U411(X1, X2, X3)
U411(mark(X1), X2, X3) → U411(X1, X2, X3)
U411(active(X1), X2, X3) → U411(X1, X2, X3)
U411(X1, active(X2), X3) → U411(X1, X2, X3)
U411(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U411(X1, mark(X2), 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(x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U41^12

The following usable rules [FROCOS05] were oriented: none

(200) Obligation:

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

U411(mark(X1), X2, X3) → U411(X1, X2, X3)
U411(active(X1), X2, X3) → U411(X1, X2, X3)
U411(X1, active(X2), X3) → U411(X1, X2, X3)
U411(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(201) 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: Combined order from the following AFS and order.
U411(x1, x2, x3)  =  U411(x1, x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U41^13

The following usable rules [FROCOS05] were oriented: none

(202) Obligation:

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

U411(active(X1), X2, X3) → U411(X1, X2, X3)
U411(X1, active(X2), X3) → U411(X1, X2, X3)
U411(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(203) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U411(active(X1), X2, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U41^11

The following usable rules [FROCOS05] were oriented: none

(204) Obligation:

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

U411(X1, active(X2), X3) → U411(X1, X2, X3)
U411(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(205) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U411(X1, active(X2), 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(x1, x2)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U41^12

The following usable rules [FROCOS05] were oriented: none

(206) Obligation:

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

U411(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(207) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U411(X1, X2, active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U41^11

The following usable rules [FROCOS05] were oriented: none

(208) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(209) PisEmptyProof (EQUIVALENT transformation)

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

(210) TRUE

(211) Obligation:

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

U331(active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(212) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Recursive Path Order [RPO].
Precedence:
active1 > U33^11

The following usable rules [FROCOS05] were oriented: none

(213) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(214) 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: Recursive Path Order [RPO].
Precedence:
mark1 > U33^11

The following usable rules [FROCOS05] were oriented: none

(215) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(216) PisEmptyProof (EQUIVALENT transformation)

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

(217) TRUE

(218) Obligation:

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

U321(X1, mark(X2)) → U321(X1, X2)
U321(mark(X1), X2) → U321(X1, X2)
U321(active(X1), X2) → U321(X1, X2)
U321(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(219) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U321(X1, mark(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(x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U32^11

The following usable rules [FROCOS05] were oriented: none

(220) Obligation:

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

U321(mark(X1), X2) → U321(X1, X2)
U321(active(X1), X2) → U321(X1, X2)
U321(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(221) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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, x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(222) Obligation:

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

U321(active(X1), X2) → U321(X1, X2)
U321(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(223) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U321(active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U32^11

The following usable rules [FROCOS05] were oriented: none

(224) Obligation:

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

U321(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U321(X1, active(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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(226) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(227) PisEmptyProof (EQUIVALENT transformation)

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

(228) TRUE

(229) Obligation:

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

U311(X1, mark(X2)) → U311(X1, X2)
U311(mark(X1), X2) → U311(X1, X2)
U311(active(X1), X2) → U311(X1, X2)
U311(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(230) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U311(X1, mark(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(x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U31^11

The following usable rules [FROCOS05] were oriented: none

(231) Obligation:

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

U311(mark(X1), X2) → U311(X1, X2)
U311(active(X1), X2) → U311(X1, X2)
U311(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


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, x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(233) Obligation:

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

U311(active(X1), X2) → U311(X1, X2)
U311(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U311(active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U31^11

The following usable rules [FROCOS05] were oriented: none

(235) Obligation:

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

U311(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(236) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U311(X1, active(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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(237) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(238) PisEmptyProof (EQUIVALENT transformation)

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

(239) TRUE

(240) Obligation:

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

U231(active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(241) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Recursive Path Order [RPO].
Precedence:
active1 > U23^11

The following usable rules [FROCOS05] were oriented: none

(242) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(243) 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: Recursive Path Order [RPO].
Precedence:
mark1 > U23^11

The following usable rules [FROCOS05] were oriented: none

(244) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(245) PisEmptyProof (EQUIVALENT transformation)

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

(246) TRUE

(247) Obligation:

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

U221(X1, mark(X2)) → U221(X1, X2)
U221(mark(X1), X2) → U221(X1, X2)
U221(active(X1), X2) → U221(X1, X2)
U221(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(248) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U221(X1, mark(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(x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U22^11

The following usable rules [FROCOS05] were oriented: none

(249) Obligation:

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

U221(mark(X1), X2) → U221(X1, X2)
U221(active(X1), X2) → U221(X1, X2)
U221(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(250) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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, x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(251) Obligation:

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

U221(active(X1), X2) → U221(X1, X2)
U221(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(252) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U221(active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U22^11

The following usable rules [FROCOS05] were oriented: none

(253) Obligation:

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

U221(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(254) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U221(X1, active(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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(255) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(256) PisEmptyProof (EQUIVALENT transformation)

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

(257) TRUE

(258) Obligation:

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

U211(X1, mark(X2)) → U211(X1, X2)
U211(mark(X1), X2) → U211(X1, X2)
U211(active(X1), X2) → U211(X1, X2)
U211(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(259) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U211(X1, mark(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(x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U21^11

The following usable rules [FROCOS05] were oriented: none

(260) Obligation:

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

U211(mark(X1), X2) → U211(X1, X2)
U211(active(X1), X2) → U211(X1, X2)
U211(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(261) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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, x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(262) Obligation:

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

U211(active(X1), X2) → U211(X1, X2)
U211(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(263) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U211(active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U21^11

The following usable rules [FROCOS05] were oriented: none

(264) Obligation:

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

U211(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U211(X1, active(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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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:

TAKE(X1, mark(X2)) → TAKE(X1, X2)
TAKE(mark(X1), X2) → TAKE(X1, X2)
TAKE(active(X1), X2) → TAKE(X1, X2)
TAKE(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


TAKE(X1, mark(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)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > TAKE1

The following usable rules [FROCOS05] were oriented: none

(271) Obligation:

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

TAKE(mark(X1), X2) → TAKE(X1, X2)
TAKE(active(X1), X2) → TAKE(X1, X2)
TAKE(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


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, x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(273) Obligation:

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

TAKE(active(X1), X2) → TAKE(X1, X2)
TAKE(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(274) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


TAKE(active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > TAKE1

The following usable rules [FROCOS05] were oriented: none

(275) Obligation:

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

TAKE(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(276) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


TAKE(X1, active(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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(277) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(278) PisEmptyProof (EQUIVALENT transformation)

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

(279) TRUE

(280) Obligation:

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

U1361(X1, mark(X2), X3, X4) → U1361(X1, X2, X3, X4)
U1361(mark(X1), X2, X3, X4) → U1361(X1, X2, X3, X4)
U1361(X1, X2, mark(X3), X4) → U1361(X1, X2, X3, X4)
U1361(X1, X2, X3, mark(X4)) → U1361(X1, X2, X3, X4)
U1361(active(X1), X2, X3, X4) → U1361(X1, X2, X3, X4)
U1361(X1, active(X2), X3, X4) → U1361(X1, X2, X3, X4)
U1361(X1, X2, active(X3), X4) → U1361(X1, X2, X3, X4)
U1361(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(281) 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)
U1361(X1, X2, mark(X3), X4) → U1361(X1, X2, X3, X4)
U1361(X1, X2, X3, mark(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(x1, x3, x4)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(282) Obligation:

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

U1361(X1, mark(X2), X3, X4) → U1361(X1, X2, X3, X4)
U1361(active(X1), X2, X3, X4) → U1361(X1, X2, X3, X4)
U1361(X1, active(X2), X3, X4) → U1361(X1, X2, X3, X4)
U1361(X1, X2, active(X3), X4) → U1361(X1, X2, X3, X4)
U1361(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(283) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1361(X1, mark(X2), X3, 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(x1, x2, x3, x4)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U136^14

The following usable rules [FROCOS05] were oriented: none

(284) Obligation:

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

U1361(active(X1), X2, X3, X4) → U1361(X1, X2, X3, X4)
U1361(X1, active(X2), X3, X4) → U1361(X1, X2, X3, X4)
U1361(X1, X2, active(X3), X4) → U1361(X1, X2, X3, X4)
U1361(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(285) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1361(active(X1), X2, X3, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U136^11

The following usable rules [FROCOS05] were oriented: none

(286) Obligation:

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

U1361(X1, active(X2), X3, X4) → U1361(X1, X2, X3, X4)
U1361(X1, X2, active(X3), X4) → U1361(X1, X2, X3, X4)
U1361(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(287) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1361(X1, active(X2), X3, 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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(288) Obligation:

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

U1361(X1, X2, active(X3), X4) → U1361(X1, X2, X3, X4)
U1361(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(289) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1361(X1, X2, active(X3), 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(x3)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U136^11

The following usable rules [FROCOS05] were oriented: none

(290) Obligation:

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

U1361(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U1361(X1, X2, X3, active(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)  =  x4
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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:

U1351(X1, mark(X2), X3, X4) → U1351(X1, X2, X3, X4)
U1351(mark(X1), X2, X3, X4) → U1351(X1, X2, X3, X4)
U1351(X1, X2, mark(X3), X4) → U1351(X1, X2, X3, X4)
U1351(X1, X2, X3, mark(X4)) → U1351(X1, X2, X3, X4)
U1351(active(X1), X2, X3, X4) → U1351(X1, X2, X3, X4)
U1351(X1, active(X2), X3, X4) → U1351(X1, X2, X3, X4)
U1351(X1, X2, active(X3), X4) → U1351(X1, X2, X3, X4)
U1351(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U1351(mark(X1), X2, X3, X4) → U1351(X1, X2, X3, X4)
U1351(X1, X2, mark(X3), X4) → U1351(X1, X2, X3, X4)
U1351(X1, X2, X3, mark(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(x1, x3, x4)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(297) Obligation:

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

U1351(X1, mark(X2), X3, X4) → U1351(X1, X2, X3, X4)
U1351(active(X1), X2, X3, X4) → U1351(X1, X2, X3, X4)
U1351(X1, active(X2), X3, X4) → U1351(X1, X2, X3, X4)
U1351(X1, X2, active(X3), X4) → U1351(X1, X2, X3, X4)
U1351(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(298) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1351(X1, mark(X2), X3, 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(x1, x2, x3, x4)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U135^14

The following usable rules [FROCOS05] were oriented: none

(299) Obligation:

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

U1351(active(X1), X2, X3, X4) → U1351(X1, X2, X3, X4)
U1351(X1, active(X2), X3, X4) → U1351(X1, X2, X3, X4)
U1351(X1, X2, active(X3), X4) → U1351(X1, X2, X3, X4)
U1351(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(300) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1351(active(X1), X2, X3, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U135^11

The following usable rules [FROCOS05] were oriented: none

(301) Obligation:

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

U1351(X1, active(X2), X3, X4) → U1351(X1, X2, X3, X4)
U1351(X1, X2, active(X3), X4) → U1351(X1, X2, X3, X4)
U1351(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(302) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1351(X1, active(X2), X3, 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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(303) Obligation:

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

U1351(X1, X2, active(X3), X4) → U1351(X1, X2, X3, X4)
U1351(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(304) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1351(X1, X2, active(X3), 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(x3)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U135^11

The following usable rules [FROCOS05] were oriented: none

(305) Obligation:

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

U1351(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(306) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1351(X1, X2, X3, active(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)  =  x4
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(307) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(308) PisEmptyProof (EQUIVALENT transformation)

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

(309) TRUE

(310) Obligation:

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

U1341(X1, mark(X2), X3, X4) → U1341(X1, X2, X3, X4)
U1341(mark(X1), X2, X3, X4) → U1341(X1, X2, X3, X4)
U1341(X1, X2, mark(X3), X4) → U1341(X1, X2, X3, X4)
U1341(X1, X2, X3, mark(X4)) → U1341(X1, X2, X3, X4)
U1341(active(X1), X2, X3, X4) → U1341(X1, X2, X3, X4)
U1341(X1, active(X2), X3, X4) → U1341(X1, X2, X3, X4)
U1341(X1, X2, active(X3), X4) → U1341(X1, X2, X3, X4)
U1341(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(311) 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)
U1341(X1, X2, mark(X3), X4) → U1341(X1, X2, X3, X4)
U1341(X1, X2, X3, mark(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(x1, x3, x4)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(312) Obligation:

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

U1341(X1, mark(X2), X3, X4) → U1341(X1, X2, X3, X4)
U1341(active(X1), X2, X3, X4) → U1341(X1, X2, X3, X4)
U1341(X1, active(X2), X3, X4) → U1341(X1, X2, X3, X4)
U1341(X1, X2, active(X3), X4) → U1341(X1, X2, X3, X4)
U1341(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U1341(X1, mark(X2), X3, 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(x1, x2, x3, x4)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U134^14

The following usable rules [FROCOS05] were oriented: none

(314) Obligation:

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

U1341(active(X1), X2, X3, X4) → U1341(X1, X2, X3, X4)
U1341(X1, active(X2), X3, X4) → U1341(X1, X2, X3, X4)
U1341(X1, X2, active(X3), X4) → U1341(X1, X2, X3, X4)
U1341(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U1341(active(X1), X2, X3, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U134^11

The following usable rules [FROCOS05] were oriented: none

(316) Obligation:

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

U1341(X1, active(X2), X3, X4) → U1341(X1, X2, X3, X4)
U1341(X1, X2, active(X3), X4) → U1341(X1, X2, X3, X4)
U1341(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(317) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1341(X1, active(X2), X3, 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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(318) Obligation:

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

U1341(X1, X2, active(X3), X4) → U1341(X1, X2, X3, X4)
U1341(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(319) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1341(X1, X2, active(X3), 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(x3)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U134^11

The following usable rules [FROCOS05] were oriented: none

(320) Obligation:

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

U1341(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(321) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1341(X1, X2, X3, active(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)  =  x4
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(322) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(323) PisEmptyProof (EQUIVALENT transformation)

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

(324) TRUE

(325) Obligation:

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

U1331(X1, mark(X2), X3, X4) → U1331(X1, X2, X3, X4)
U1331(mark(X1), X2, X3, X4) → U1331(X1, X2, X3, X4)
U1331(X1, X2, mark(X3), X4) → U1331(X1, X2, X3, X4)
U1331(X1, X2, X3, mark(X4)) → U1331(X1, X2, X3, X4)
U1331(active(X1), X2, X3, X4) → U1331(X1, X2, X3, X4)
U1331(X1, active(X2), X3, X4) → U1331(X1, X2, X3, X4)
U1331(X1, X2, active(X3), X4) → U1331(X1, X2, X3, X4)
U1331(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(326) 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)
U1331(X1, X2, mark(X3), X4) → U1331(X1, X2, X3, X4)
U1331(X1, X2, X3, mark(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(x1, x3, x4)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(327) Obligation:

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

U1331(X1, mark(X2), X3, X4) → U1331(X1, X2, X3, X4)
U1331(active(X1), X2, X3, X4) → U1331(X1, X2, X3, X4)
U1331(X1, active(X2), X3, X4) → U1331(X1, X2, X3, X4)
U1331(X1, X2, active(X3), X4) → U1331(X1, X2, X3, X4)
U1331(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(328) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1331(X1, mark(X2), X3, 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(x1, x2, x3, x4)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U133^14

The following usable rules [FROCOS05] were oriented: none

(329) Obligation:

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

U1331(active(X1), X2, X3, X4) → U1331(X1, X2, X3, X4)
U1331(X1, active(X2), X3, X4) → U1331(X1, X2, X3, X4)
U1331(X1, X2, active(X3), X4) → U1331(X1, X2, X3, X4)
U1331(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(330) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1331(active(X1), X2, X3, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U133^11

The following usable rules [FROCOS05] were oriented: none

(331) Obligation:

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

U1331(X1, active(X2), X3, X4) → U1331(X1, X2, X3, X4)
U1331(X1, X2, active(X3), X4) → U1331(X1, X2, X3, X4)
U1331(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(332) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1331(X1, active(X2), X3, 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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(333) Obligation:

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

U1331(X1, X2, active(X3), X4) → U1331(X1, X2, X3, X4)
U1331(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U1331(X1, X2, active(X3), 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(x3)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U133^11

The following usable rules [FROCOS05] were oriented: none

(335) Obligation:

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

U1331(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U1331(X1, X2, X3, active(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)  =  x4
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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:

U1321(X1, mark(X2), X3, X4) → U1321(X1, X2, X3, X4)
U1321(mark(X1), X2, X3, X4) → U1321(X1, X2, X3, X4)
U1321(X1, X2, mark(X3), X4) → U1321(X1, X2, X3, X4)
U1321(X1, X2, X3, mark(X4)) → U1321(X1, X2, X3, X4)
U1321(active(X1), X2, X3, X4) → U1321(X1, X2, X3, X4)
U1321(X1, active(X2), X3, X4) → U1321(X1, X2, X3, X4)
U1321(X1, X2, active(X3), X4) → U1321(X1, X2, X3, X4)
U1321(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U1321(mark(X1), X2, X3, X4) → U1321(X1, X2, X3, X4)
U1321(X1, X2, mark(X3), X4) → U1321(X1, X2, X3, X4)
U1321(X1, X2, X3, mark(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(x1, x3, x4)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(342) Obligation:

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

U1321(X1, mark(X2), X3, X4) → U1321(X1, X2, X3, X4)
U1321(active(X1), X2, X3, X4) → U1321(X1, X2, X3, X4)
U1321(X1, active(X2), X3, X4) → U1321(X1, X2, X3, X4)
U1321(X1, X2, active(X3), X4) → U1321(X1, X2, X3, X4)
U1321(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(343) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1321(X1, mark(X2), X3, 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(x1, x2, x3, x4)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U132^14

The following usable rules [FROCOS05] were oriented: none

(344) Obligation:

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

U1321(active(X1), X2, X3, X4) → U1321(X1, X2, X3, X4)
U1321(X1, active(X2), X3, X4) → U1321(X1, X2, X3, X4)
U1321(X1, X2, active(X3), X4) → U1321(X1, X2, X3, X4)
U1321(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(345) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1321(active(X1), X2, X3, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U132^11

The following usable rules [FROCOS05] were oriented: none

(346) Obligation:

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

U1321(X1, active(X2), X3, X4) → U1321(X1, X2, X3, X4)
U1321(X1, X2, active(X3), X4) → U1321(X1, X2, X3, X4)
U1321(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(347) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1321(X1, active(X2), X3, 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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(348) Obligation:

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

U1321(X1, X2, active(X3), X4) → U1321(X1, X2, X3, X4)
U1321(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(349) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1321(X1, X2, active(X3), 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(x3)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U132^11

The following usable rules [FROCOS05] were oriented: none

(350) Obligation:

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

U1321(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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.


U1321(X1, X2, X3, active(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)  =  x4
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(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:

U1311(X1, mark(X2), X3, X4) → U1311(X1, X2, X3, X4)
U1311(mark(X1), X2, X3, X4) → U1311(X1, X2, X3, X4)
U1311(X1, X2, mark(X3), X4) → U1311(X1, X2, X3, X4)
U1311(X1, X2, X3, mark(X4)) → U1311(X1, X2, X3, X4)
U1311(active(X1), X2, X3, X4) → U1311(X1, X2, X3, X4)
U1311(X1, active(X2), X3, X4) → U1311(X1, X2, X3, X4)
U1311(X1, X2, active(X3), X4) → U1311(X1, X2, X3, X4)
U1311(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(356) 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)
U1311(X1, X2, mark(X3), X4) → U1311(X1, X2, X3, X4)
U1311(X1, X2, X3, mark(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(x1, x3, x4)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(357) Obligation:

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

U1311(X1, mark(X2), X3, X4) → U1311(X1, X2, X3, X4)
U1311(active(X1), X2, X3, X4) → U1311(X1, X2, X3, X4)
U1311(X1, active(X2), X3, X4) → U1311(X1, X2, X3, X4)
U1311(X1, X2, active(X3), X4) → U1311(X1, X2, X3, X4)
U1311(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(358) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1311(X1, mark(X2), X3, 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(x1, x2, x3, x4)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U131^14

The following usable rules [FROCOS05] were oriented: none

(359) Obligation:

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

U1311(active(X1), X2, X3, X4) → U1311(X1, X2, X3, X4)
U1311(X1, active(X2), X3, X4) → U1311(X1, X2, X3, X4)
U1311(X1, X2, active(X3), X4) → U1311(X1, X2, X3, X4)
U1311(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(360) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1311(active(X1), X2, X3, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U131^11

The following usable rules [FROCOS05] were oriented: none

(361) Obligation:

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

U1311(X1, active(X2), X3, X4) → U1311(X1, X2, X3, X4)
U1311(X1, X2, active(X3), X4) → U1311(X1, X2, X3, X4)
U1311(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(362) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1311(X1, active(X2), X3, 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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(363) Obligation:

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

U1311(X1, X2, active(X3), X4) → U1311(X1, X2, X3, X4)
U1311(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(364) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1311(X1, X2, active(X3), 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(x3)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U131^11

The following usable rules [FROCOS05] were oriented: none

(365) Obligation:

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

U1311(X1, X2, X3, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(366) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1311(X1, X2, X3, active(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)  =  x4
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(367) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(368) PisEmptyProof (EQUIVALENT transformation)

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

(369) TRUE

(370) Obligation:

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

U1221(active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(371) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Recursive Path Order [RPO].
Precedence:
active1 > U122^11

The following usable rules [FROCOS05] were oriented: none

(372) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(373) 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: Recursive Path Order [RPO].
Precedence:
mark1 > U122^11

The following usable rules [FROCOS05] were oriented: none

(374) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(375) PisEmptyProof (EQUIVALENT transformation)

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

(376) TRUE

(377) Obligation:

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

U1211(X1, mark(X2)) → U1211(X1, X2)
U1211(mark(X1), X2) → U1211(X1, X2)
U1211(active(X1), X2) → U1211(X1, X2)
U1211(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(378) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1211(X1, mark(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(x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U121^11

The following usable rules [FROCOS05] were oriented: none

(379) Obligation:

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

U1211(mark(X1), X2) → U1211(X1, X2)
U1211(active(X1), X2) → U1211(X1, X2)
U1211(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(380) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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, x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(381) Obligation:

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

U1211(active(X1), X2) → U1211(X1, X2)
U1211(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(382) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1211(active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U121^11

The following usable rules [FROCOS05] were oriented: none

(383) Obligation:

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

U1211(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(384) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1211(X1, active(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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(385) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(386) PisEmptyProof (EQUIVALENT transformation)

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

(387) TRUE

(388) Obligation:

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

ISNATLIST(active(X)) → ISNATLIST(X)
ISNATLIST(mark(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(389) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Recursive Path Order [RPO].
Precedence:
active1 > ISNATLIST1

The following usable rules [FROCOS05] were oriented: none

(390) Obligation:

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

ISNATLIST(mark(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(391) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


ISNATLIST(mark(X)) → ISNATLIST(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Recursive Path Order [RPO].
Precedence:
mark1 > ISNATLIST1

The following usable rules [FROCOS05] were oriented: none

(392) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(393) PisEmptyProof (EQUIVALENT transformation)

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

(394) TRUE

(395) Obligation:

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

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

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

(396) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Recursive Path Order [RPO].
Precedence:
active1 > U13^11

The following usable rules [FROCOS05] were oriented: none

(397) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(398) 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: Recursive Path Order [RPO].
Precedence:
mark1 > U13^11

The following usable rules [FROCOS05] were oriented: none

(399) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(400) PisEmptyProof (EQUIVALENT transformation)

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

(401) TRUE

(402) Obligation:

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

LENGTH(active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(403) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Recursive Path Order [RPO].
Precedence:
active1 > LENGTH1

The following usable rules [FROCOS05] were oriented: none

(404) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(405) 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: Recursive Path Order [RPO].
Precedence:
mark1 > LENGTH1

The following usable rules [FROCOS05] were oriented: none

(406) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(407) PisEmptyProof (EQUIVALENT transformation)

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

(408) TRUE

(409) Obligation:

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

S(active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(410) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Recursive Path Order [RPO].
Precedence:
active1 > S1

The following usable rules [FROCOS05] were oriented: none

(411) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(412) 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: Recursive Path Order [RPO].
Precedence:
mark1 > S1

The following usable rules [FROCOS05] were oriented: none

(413) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(414) PisEmptyProof (EQUIVALENT transformation)

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

(415) TRUE

(416) Obligation:

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

U1141(X1, mark(X2)) → U1141(X1, X2)
U1141(mark(X1), X2) → U1141(X1, X2)
U1141(active(X1), X2) → U1141(X1, X2)
U1141(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(417) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1141(X1, mark(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(x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U114^11

The following usable rules [FROCOS05] were oriented: none

(418) Obligation:

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

U1141(mark(X1), X2) → U1141(X1, X2)
U1141(active(X1), X2) → U1141(X1, X2)
U1141(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(419) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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, x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(420) Obligation:

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

U1141(active(X1), X2) → U1141(X1, X2)
U1141(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(421) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1141(active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U114^11

The following usable rules [FROCOS05] were oriented: none

(422) Obligation:

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

U1141(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(423) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1141(X1, active(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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(424) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(425) PisEmptyProof (EQUIVALENT transformation)

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

(426) TRUE

(427) Obligation:

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

U1131(X1, mark(X2), X3) → U1131(X1, X2, X3)
U1131(mark(X1), X2, X3) → U1131(X1, X2, X3)
U1131(X1, X2, mark(X3)) → U1131(X1, X2, X3)
U1131(active(X1), X2, X3) → U1131(X1, X2, X3)
U1131(X1, active(X2), X3) → U1131(X1, X2, X3)
U1131(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(428) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1131(X1, X2, mark(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)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U113^11

The following usable rules [FROCOS05] were oriented: none

(429) Obligation:

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

U1131(X1, mark(X2), X3) → U1131(X1, X2, X3)
U1131(mark(X1), X2, X3) → U1131(X1, X2, X3)
U1131(active(X1), X2, X3) → U1131(X1, X2, X3)
U1131(X1, active(X2), X3) → U1131(X1, X2, X3)
U1131(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(430) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1131(X1, mark(X2), 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(x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U113^12

The following usable rules [FROCOS05] were oriented: none

(431) Obligation:

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

U1131(mark(X1), X2, X3) → U1131(X1, X2, X3)
U1131(active(X1), X2, X3) → U1131(X1, X2, X3)
U1131(X1, active(X2), X3) → U1131(X1, X2, X3)
U1131(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(432) 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: Combined order from the following AFS and order.
U1131(x1, x2, x3)  =  U1131(x1, x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U113^13

The following usable rules [FROCOS05] were oriented: none

(433) Obligation:

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

U1131(active(X1), X2, X3) → U1131(X1, X2, X3)
U1131(X1, active(X2), X3) → U1131(X1, X2, X3)
U1131(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(434) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1131(active(X1), X2, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U113^11

The following usable rules [FROCOS05] were oriented: none

(435) Obligation:

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

U1131(X1, active(X2), X3) → U1131(X1, X2, X3)
U1131(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(436) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1131(X1, active(X2), 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(x1, x2)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U113^12

The following usable rules [FROCOS05] were oriented: none

(437) Obligation:

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

U1131(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(438) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1131(X1, X2, active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U113^11

The following usable rules [FROCOS05] were oriented: none

(439) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(440) PisEmptyProof (EQUIVALENT transformation)

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

(441) TRUE

(442) Obligation:

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

U1121(X1, mark(X2), X3) → U1121(X1, X2, X3)
U1121(mark(X1), X2, X3) → U1121(X1, X2, X3)
U1121(X1, X2, mark(X3)) → U1121(X1, X2, X3)
U1121(active(X1), X2, X3) → U1121(X1, X2, X3)
U1121(X1, active(X2), X3) → U1121(X1, X2, X3)
U1121(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(443) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1121(X1, X2, mark(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)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U112^11

The following usable rules [FROCOS05] were oriented: none

(444) Obligation:

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

U1121(X1, mark(X2), X3) → U1121(X1, X2, X3)
U1121(mark(X1), X2, X3) → U1121(X1, X2, X3)
U1121(active(X1), X2, X3) → U1121(X1, X2, X3)
U1121(X1, active(X2), X3) → U1121(X1, X2, X3)
U1121(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(445) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1121(X1, mark(X2), 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(x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U112^12

The following usable rules [FROCOS05] were oriented: none

(446) Obligation:

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

U1121(mark(X1), X2, X3) → U1121(X1, X2, X3)
U1121(active(X1), X2, X3) → U1121(X1, X2, X3)
U1121(X1, active(X2), X3) → U1121(X1, X2, X3)
U1121(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(447) 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: Combined order from the following AFS and order.
U1121(x1, x2, x3)  =  U1121(x1, x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U112^13

The following usable rules [FROCOS05] were oriented: none

(448) Obligation:

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

U1121(active(X1), X2, X3) → U1121(X1, X2, X3)
U1121(X1, active(X2), X3) → U1121(X1, X2, X3)
U1121(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(449) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1121(active(X1), X2, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U112^11

The following usable rules [FROCOS05] were oriented: none

(450) Obligation:

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

U1121(X1, active(X2), X3) → U1121(X1, X2, X3)
U1121(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(451) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1121(X1, active(X2), 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(x1, x2)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U112^12

The following usable rules [FROCOS05] were oriented: none

(452) Obligation:

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

U1121(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(453) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1121(X1, X2, active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U112^11

The following usable rules [FROCOS05] were oriented: none

(454) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(455) PisEmptyProof (EQUIVALENT transformation)

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

(456) TRUE

(457) Obligation:

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

U1111(X1, mark(X2), X3) → U1111(X1, X2, X3)
U1111(mark(X1), X2, X3) → U1111(X1, X2, X3)
U1111(X1, X2, mark(X3)) → U1111(X1, X2, X3)
U1111(active(X1), X2, X3) → U1111(X1, X2, X3)
U1111(X1, active(X2), X3) → U1111(X1, X2, X3)
U1111(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(458) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1111(X1, X2, mark(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)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U111^11

The following usable rules [FROCOS05] were oriented: none

(459) Obligation:

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

U1111(X1, mark(X2), X3) → U1111(X1, X2, X3)
U1111(mark(X1), X2, X3) → U1111(X1, X2, X3)
U1111(active(X1), X2, X3) → U1111(X1, X2, X3)
U1111(X1, active(X2), X3) → U1111(X1, X2, X3)
U1111(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(460) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1111(X1, mark(X2), 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(x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U111^12

The following usable rules [FROCOS05] were oriented: none

(461) Obligation:

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

U1111(mark(X1), X2, X3) → U1111(X1, X2, X3)
U1111(active(X1), X2, X3) → U1111(X1, X2, X3)
U1111(X1, active(X2), X3) → U1111(X1, X2, X3)
U1111(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(462) 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: Combined order from the following AFS and order.
U1111(x1, x2, x3)  =  U1111(x1, x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U111^13

The following usable rules [FROCOS05] were oriented: none

(463) Obligation:

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

U1111(active(X1), X2, X3) → U1111(X1, X2, X3)
U1111(X1, active(X2), X3) → U1111(X1, X2, X3)
U1111(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(464) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1111(active(X1), X2, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U111^11

The following usable rules [FROCOS05] were oriented: none

(465) Obligation:

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

U1111(X1, active(X2), X3) → U1111(X1, X2, X3)
U1111(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(466) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1111(X1, active(X2), 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(x1, x2)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U111^12

The following usable rules [FROCOS05] were oriented: none

(467) Obligation:

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

U1111(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(468) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1111(X1, X2, active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U111^11

The following usable rules [FROCOS05] were oriented: none

(469) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(470) PisEmptyProof (EQUIVALENT transformation)

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

(471) TRUE

(472) Obligation:

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

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

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

(473) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U121(X1, mark(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(x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U12^11

The following usable rules [FROCOS05] were oriented: none

(474) Obligation:

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

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

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

(475) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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, x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(476) Obligation:

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

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

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

(477) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U121(active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U12^11

The following usable rules [FROCOS05] were oriented: none

(478) Obligation:

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

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

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

(479) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U121(X1, active(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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(480) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(481) PisEmptyProof (EQUIVALENT transformation)

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

(482) TRUE

(483) Obligation:

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

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

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

(484) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U111(X1, mark(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(x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U11^11

The following usable rules [FROCOS05] were oriented: none

(485) Obligation:

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

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

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

(486) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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, x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(487) Obligation:

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

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

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

(488) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U111(active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U11^11

The following usable rules [FROCOS05] were oriented: none

(489) Obligation:

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

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

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

(490) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U111(X1, active(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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(491) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(492) PisEmptyProof (EQUIVALENT transformation)

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

(493) TRUE

(494) Obligation:

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

ISNATILIST(active(X)) → ISNATILIST(X)
ISNATILIST(mark(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(495) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Recursive Path Order [RPO].
Precedence:
active1 > ISNATILIST1

The following usable rules [FROCOS05] were oriented: none

(496) Obligation:

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

ISNATILIST(mark(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(497) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


ISNATILIST(mark(X)) → ISNATILIST(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Recursive Path Order [RPO].
Precedence:
mark1 > ISNATILIST1

The following usable rules [FROCOS05] were oriented: none

(498) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(499) PisEmptyProof (EQUIVALENT transformation)

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

(500) TRUE

(501) Obligation:

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

U1061(active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(502) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Recursive Path Order [RPO].
Precedence:
active1 > U106^11

The following usable rules [FROCOS05] were oriented: none

(503) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(504) 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: Recursive Path Order [RPO].
Precedence:
mark1 > U106^11

The following usable rules [FROCOS05] were oriented: none

(505) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(506) PisEmptyProof (EQUIVALENT transformation)

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

(507) TRUE

(508) Obligation:

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

ISNAT(active(X)) → ISNAT(X)
ISNAT(mark(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(509) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Recursive Path Order [RPO].
Precedence:
active1 > ISNAT1

The following usable rules [FROCOS05] were oriented: none

(510) Obligation:

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

ISNAT(mark(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(511) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


ISNAT(mark(X)) → ISNAT(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Recursive Path Order [RPO].
Precedence:
mark1 > ISNAT1

The following usable rules [FROCOS05] were oriented: none

(512) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(513) PisEmptyProof (EQUIVALENT transformation)

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

(514) TRUE

(515) Obligation:

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

U1051(X1, mark(X2)) → U1051(X1, X2)
U1051(mark(X1), X2) → U1051(X1, X2)
U1051(active(X1), X2) → U1051(X1, X2)
U1051(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(516) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1051(X1, mark(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(x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U105^11

The following usable rules [FROCOS05] were oriented: none

(517) Obligation:

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

U1051(mark(X1), X2) → U1051(X1, X2)
U1051(active(X1), X2) → U1051(X1, X2)
U1051(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(518) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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, x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(519) Obligation:

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

U1051(active(X1), X2) → U1051(X1, X2)
U1051(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(520) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1051(active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U105^11

The following usable rules [FROCOS05] were oriented: none

(521) Obligation:

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

U1051(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(522) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1051(X1, active(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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(523) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(524) PisEmptyProof (EQUIVALENT transformation)

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

(525) TRUE

(526) Obligation:

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

U1041(X1, mark(X2), X3) → U1041(X1, X2, X3)
U1041(mark(X1), X2, X3) → U1041(X1, X2, X3)
U1041(X1, X2, mark(X3)) → U1041(X1, X2, X3)
U1041(active(X1), X2, X3) → U1041(X1, X2, X3)
U1041(X1, active(X2), X3) → U1041(X1, X2, X3)
U1041(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(527) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1041(X1, X2, mark(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)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U104^11

The following usable rules [FROCOS05] were oriented: none

(528) Obligation:

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

U1041(X1, mark(X2), X3) → U1041(X1, X2, X3)
U1041(mark(X1), X2, X3) → U1041(X1, X2, X3)
U1041(active(X1), X2, X3) → U1041(X1, X2, X3)
U1041(X1, active(X2), X3) → U1041(X1, X2, X3)
U1041(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(529) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1041(X1, mark(X2), 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(x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U104^12

The following usable rules [FROCOS05] were oriented: none

(530) Obligation:

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

U1041(mark(X1), X2, X3) → U1041(X1, X2, X3)
U1041(active(X1), X2, X3) → U1041(X1, X2, X3)
U1041(X1, active(X2), X3) → U1041(X1, X2, X3)
U1041(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(531) 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: Combined order from the following AFS and order.
U1041(x1, x2, x3)  =  U1041(x1, x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U104^13

The following usable rules [FROCOS05] were oriented: none

(532) Obligation:

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

U1041(active(X1), X2, X3) → U1041(X1, X2, X3)
U1041(X1, active(X2), X3) → U1041(X1, X2, X3)
U1041(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(533) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1041(active(X1), X2, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U104^11

The following usable rules [FROCOS05] were oriented: none

(534) Obligation:

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

U1041(X1, active(X2), X3) → U1041(X1, X2, X3)
U1041(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(535) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1041(X1, active(X2), 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(x1, x2)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U104^12

The following usable rules [FROCOS05] were oriented: none

(536) Obligation:

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

U1041(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(537) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1041(X1, X2, active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U104^11

The following usable rules [FROCOS05] were oriented: none

(538) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(539) PisEmptyProof (EQUIVALENT transformation)

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

(540) TRUE

(541) Obligation:

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

ISNATILISTKIND(active(X)) → ISNATILISTKIND(X)
ISNATILISTKIND(mark(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(542) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Recursive Path Order [RPO].
Precedence:
active1 > ISNATILISTKIND1

The following usable rules [FROCOS05] were oriented: none

(543) Obligation:

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

ISNATILISTKIND(mark(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(544) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


ISNATILISTKIND(mark(X)) → ISNATILISTKIND(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Recursive Path Order [RPO].
Precedence:
mark1 > ISNATILISTKIND1

The following usable rules [FROCOS05] were oriented: none

(545) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(546) PisEmptyProof (EQUIVALENT transformation)

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

(547) TRUE

(548) Obligation:

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

U1031(X1, mark(X2), X3) → U1031(X1, X2, X3)
U1031(mark(X1), X2, X3) → U1031(X1, X2, X3)
U1031(X1, X2, mark(X3)) → U1031(X1, X2, X3)
U1031(active(X1), X2, X3) → U1031(X1, X2, X3)
U1031(X1, active(X2), X3) → U1031(X1, X2, X3)
U1031(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(549) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1031(X1, X2, mark(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)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U103^11

The following usable rules [FROCOS05] were oriented: none

(550) Obligation:

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

U1031(X1, mark(X2), X3) → U1031(X1, X2, X3)
U1031(mark(X1), X2, X3) → U1031(X1, X2, X3)
U1031(active(X1), X2, X3) → U1031(X1, X2, X3)
U1031(X1, active(X2), X3) → U1031(X1, X2, X3)
U1031(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(551) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1031(X1, mark(X2), 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(x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U103^12

The following usable rules [FROCOS05] were oriented: none

(552) Obligation:

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

U1031(mark(X1), X2, X3) → U1031(X1, X2, X3)
U1031(active(X1), X2, X3) → U1031(X1, X2, X3)
U1031(X1, active(X2), X3) → U1031(X1, X2, X3)
U1031(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(553) 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: Combined order from the following AFS and order.
U1031(x1, x2, x3)  =  U1031(x1, x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U103^13

The following usable rules [FROCOS05] were oriented: none

(554) Obligation:

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

U1031(active(X1), X2, X3) → U1031(X1, X2, X3)
U1031(X1, active(X2), X3) → U1031(X1, X2, X3)
U1031(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(555) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1031(active(X1), X2, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U103^11

The following usable rules [FROCOS05] were oriented: none

(556) Obligation:

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

U1031(X1, active(X2), X3) → U1031(X1, X2, X3)
U1031(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(557) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1031(X1, active(X2), 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(x1, x2)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U103^12

The following usable rules [FROCOS05] were oriented: none

(558) Obligation:

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

U1031(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(559) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1031(X1, X2, active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U103^11

The following usable rules [FROCOS05] were oriented: none

(560) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(561) PisEmptyProof (EQUIVALENT transformation)

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

(562) TRUE

(563) Obligation:

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

ISNATKIND(active(X)) → ISNATKIND(X)
ISNATKIND(mark(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(564) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Recursive Path Order [RPO].
Precedence:
active1 > ISNATKIND1

The following usable rules [FROCOS05] were oriented: none

(565) Obligation:

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

ISNATKIND(mark(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(566) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


ISNATKIND(mark(X)) → ISNATKIND(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Recursive Path Order [RPO].
Precedence:
mark1 > ISNATKIND1

The following usable rules [FROCOS05] were oriented: none

(567) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(568) PisEmptyProof (EQUIVALENT transformation)

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

(569) TRUE

(570) Obligation:

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

U1021(X1, mark(X2), X3) → U1021(X1, X2, X3)
U1021(mark(X1), X2, X3) → U1021(X1, X2, X3)
U1021(X1, X2, mark(X3)) → U1021(X1, X2, X3)
U1021(active(X1), X2, X3) → U1021(X1, X2, X3)
U1021(X1, active(X2), X3) → U1021(X1, X2, X3)
U1021(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(571) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1021(X1, X2, mark(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)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U102^11

The following usable rules [FROCOS05] were oriented: none

(572) Obligation:

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

U1021(X1, mark(X2), X3) → U1021(X1, X2, X3)
U1021(mark(X1), X2, X3) → U1021(X1, X2, X3)
U1021(active(X1), X2, X3) → U1021(X1, X2, X3)
U1021(X1, active(X2), X3) → U1021(X1, X2, X3)
U1021(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(573) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1021(X1, mark(X2), 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(x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U102^12

The following usable rules [FROCOS05] were oriented: none

(574) Obligation:

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

U1021(mark(X1), X2, X3) → U1021(X1, X2, X3)
U1021(active(X1), X2, X3) → U1021(X1, X2, X3)
U1021(X1, active(X2), X3) → U1021(X1, X2, X3)
U1021(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(575) 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: Combined order from the following AFS and order.
U1021(x1, x2, x3)  =  U1021(x1, x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U102^13

The following usable rules [FROCOS05] were oriented: none

(576) Obligation:

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

U1021(active(X1), X2, X3) → U1021(X1, X2, X3)
U1021(X1, active(X2), X3) → U1021(X1, X2, X3)
U1021(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(577) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1021(active(X1), X2, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U102^11

The following usable rules [FROCOS05] were oriented: none

(578) Obligation:

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

U1021(X1, active(X2), X3) → U1021(X1, X2, X3)
U1021(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(579) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1021(X1, active(X2), 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(x1, x2)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U102^12

The following usable rules [FROCOS05] were oriented: none

(580) Obligation:

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

U1021(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(581) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1021(X1, X2, active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U102^11

The following usable rules [FROCOS05] were oriented: none

(582) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(583) PisEmptyProof (EQUIVALENT transformation)

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

(584) TRUE

(585) Obligation:

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

U1011(X1, mark(X2), X3) → U1011(X1, X2, X3)
U1011(mark(X1), X2, X3) → U1011(X1, X2, X3)
U1011(X1, X2, mark(X3)) → U1011(X1, X2, X3)
U1011(active(X1), X2, X3) → U1011(X1, X2, X3)
U1011(X1, active(X2), X3) → U1011(X1, X2, X3)
U1011(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(586) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1011(X1, X2, mark(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)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U101^11

The following usable rules [FROCOS05] were oriented: none

(587) Obligation:

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

U1011(X1, mark(X2), X3) → U1011(X1, X2, X3)
U1011(mark(X1), X2, X3) → U1011(X1, X2, X3)
U1011(active(X1), X2, X3) → U1011(X1, X2, X3)
U1011(X1, active(X2), X3) → U1011(X1, X2, X3)
U1011(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(588) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1011(X1, mark(X2), 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(x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U101^12

The following usable rules [FROCOS05] were oriented: none

(589) Obligation:

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

U1011(mark(X1), X2, X3) → U1011(X1, X2, X3)
U1011(active(X1), X2, X3) → U1011(X1, X2, X3)
U1011(X1, active(X2), X3) → U1011(X1, X2, X3)
U1011(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(590) 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: Combined order from the following AFS and order.
U1011(x1, x2, x3)  =  U1011(x1, x2, x3)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > U101^13

The following usable rules [FROCOS05] were oriented: none

(591) Obligation:

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

U1011(active(X1), X2, X3) → U1011(X1, X2, X3)
U1011(X1, active(X2), X3) → U1011(X1, X2, X3)
U1011(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(592) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1011(active(X1), X2, 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(x1)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U101^11

The following usable rules [FROCOS05] were oriented: none

(593) Obligation:

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

U1011(X1, active(X2), X3) → U1011(X1, X2, X3)
U1011(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(594) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1011(X1, active(X2), 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(x1, x2)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U101^12

The following usable rules [FROCOS05] were oriented: none

(595) Obligation:

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

U1011(X1, X2, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(596) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1011(X1, X2, active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > U101^11

The following usable rules [FROCOS05] were oriented: none

(597) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(598) PisEmptyProof (EQUIVALENT transformation)

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

(599) TRUE

(600) Obligation:

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

CONS(X1, mark(X2)) → CONS(X1, X2)
CONS(mark(X1), X2) → CONS(X1, X2)
CONS(active(X1), X2) → CONS(X1, X2)
CONS(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(601) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


CONS(X1, mark(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(x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
mark1 > CONS1

The following usable rules [FROCOS05] were oriented: none

(602) Obligation:

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

CONS(mark(X1), X2) → CONS(X1, X2)
CONS(active(X1), X2) → CONS(X1, X2)
CONS(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(603) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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, x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(604) Obligation:

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

CONS(active(X1), X2) → CONS(X1, X2)
CONS(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(605) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


CONS(active(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)
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
active1 > CONS1

The following usable rules [FROCOS05] were oriented: none

(606) Obligation:

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

CONS(X1, active(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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(607) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


CONS(X1, active(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)  =  x2
active(x1)  =  active(x1)

Recursive Path Order [RPO].
Precedence:
trivial

The following usable rules [FROCOS05] were oriented: none

(608) 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))
mark(zeros) → active(zeros)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(0) → active(0)
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2, X3)) → active(U102(mark(X1), X2, X3))
mark(isNatKind(X)) → active(isNatKind(X))
mark(U103(X1, X2, X3)) → active(U103(mark(X1), X2, X3))
mark(isNatIListKind(X)) → active(isNatIListKind(X))
mark(U104(X1, X2, X3)) → active(U104(mark(X1), X2, X3))
mark(U105(X1, X2)) → active(U105(mark(X1), X2))
mark(isNat(X)) → active(isNat(X))
mark(U106(X)) → active(U106(mark(X)))
mark(isNatIList(X)) → active(isNatIList(X))
mark(U11(X1, X2)) → active(U11(mark(X1), X2))
mark(U12(X1, X2)) → active(U12(mark(X1), X2))
mark(U111(X1, X2, X3)) → active(U111(mark(X1), X2, X3))
mark(U112(X1, X2, X3)) → active(U112(mark(X1), X2, X3))
mark(U113(X1, X2, X3)) → active(U113(mark(X1), X2, X3))
mark(U114(X1, X2)) → active(U114(mark(X1), X2))
mark(s(X)) → active(s(mark(X)))
mark(length(X)) → active(length(mark(X)))
mark(U13(X)) → active(U13(mark(X)))
mark(isNatList(X)) → active(isNatList(X))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(nil) → active(nil)
mark(U131(X1, X2, X3, X4)) → active(U131(mark(X1), X2, X3, X4))
mark(U132(X1, X2, X3, X4)) → active(U132(mark(X1), X2, X3, X4))
mark(U133(X1, X2, X3, X4)) → active(U133(mark(X1), X2, X3, X4))
mark(U134(X1, X2, X3, X4)) → active(U134(mark(X1), X2, X3, X4))
mark(U135(X1, X2, X3, X4)) → active(U135(mark(X1), X2, X3, X4))
mark(U136(X1, X2, X3, X4)) → active(U136(mark(X1), X2, X3, X4))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U23(X)) → active(U23(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U33(X)) → active(U33(mark(X)))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(U43(X1, X2, X3)) → active(U43(mark(X1), X2, X3))
mark(U44(X1, X2, X3)) → active(U44(mark(X1), X2, X3))
mark(U45(X1, X2)) → active(U45(mark(X1), X2))
mark(U46(X)) → active(U46(mark(X)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X)) → active(U52(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(U71(X)) → active(U71(mark(X)))
mark(U81(X)) → active(U81(mark(X)))
mark(U91(X1, X2, X3)) → active(U91(mark(X1), X2, X3))
mark(U92(X1, X2, X3)) → active(U92(mark(X1), X2, X3))
mark(U93(X1, X2, X3)) → active(U93(mark(X1), X2, X3))
mark(U94(X1, X2, X3)) → active(U94(mark(X1), X2, X3))
mark(U95(X1, X2)) → active(U95(mark(X1), X2))
mark(U96(X)) → active(U96(mark(X)))
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, mark(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, mark(X3)) → U102(X1, X2, X3)
U102(active(X1), X2, X3) → U102(X1, X2, X3)
U102(X1, active(X2), X3) → U102(X1, X2, X3)
U102(X1, X2, active(X3)) → U102(X1, X2, X3)
isNatKind(mark(X)) → isNatKind(X)
isNatKind(active(X)) → isNatKind(X)
U103(mark(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, mark(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, mark(X3)) → U103(X1, X2, X3)
U103(active(X1), X2, X3) → U103(X1, X2, X3)
U103(X1, active(X2), X3) → U103(X1, X2, X3)
U103(X1, X2, active(X3)) → U103(X1, X2, X3)
isNatIListKind(mark(X)) → isNatIListKind(X)
isNatIListKind(active(X)) → isNatIListKind(X)
U104(mark(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, mark(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, mark(X3)) → U104(X1, X2, X3)
U104(active(X1), X2, X3) → U104(X1, X2, X3)
U104(X1, active(X2), X3) → U104(X1, X2, X3)
U104(X1, X2, active(X3)) → U104(X1, X2, X3)
U105(mark(X1), X2) → U105(X1, X2)
U105(X1, mark(X2)) → U105(X1, X2)
U105(active(X1), X2) → U105(X1, X2)
U105(X1, active(X2)) → U105(X1, X2)
isNat(mark(X)) → isNat(X)
isNat(active(X)) → isNat(X)
U106(mark(X)) → U106(X)
U106(active(X)) → U106(X)
isNatIList(mark(X)) → isNatIList(X)
isNatIList(active(X)) → isNatIList(X)
U11(mark(X1), X2) → U11(X1, X2)
U11(X1, mark(X2)) → U11(X1, X2)
U11(active(X1), X2) → U11(X1, X2)
U11(X1, active(X2)) → U11(X1, X2)
U12(mark(X1), X2) → U12(X1, X2)
U12(X1, mark(X2)) → U12(X1, X2)
U12(active(X1), X2) → U12(X1, X2)
U12(X1, active(X2)) → U12(X1, X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U112(mark(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, mark(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, mark(X3)) → U112(X1, X2, X3)
U112(active(X1), X2, X3) → U112(X1, X2, X3)
U112(X1, active(X2), X3) → U112(X1, X2, X3)
U112(X1, X2, active(X3)) → U112(X1, X2, X3)
U113(mark(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, mark(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, mark(X3)) → U113(X1, X2, X3)
U113(active(X1), X2, X3) → U113(X1, X2, X3)
U113(X1, active(X2), X3) → U113(X1, X2, X3)
U113(X1, X2, active(X3)) → U113(X1, X2, X3)
U114(mark(X1), X2) → U114(X1, X2)
U114(X1, mark(X2)) → U114(X1, X2)
U114(active(X1), X2) → U114(X1, X2)
U114(X1, active(X2)) → U114(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
length(mark(X)) → length(X)
length(active(X)) → length(X)
U13(mark(X)) → U13(X)
U13(active(X)) → U13(X)
isNatList(mark(X)) → isNatList(X)
isNatList(active(X)) → isNatList(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, mark(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, mark(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, mark(X4)) → U131(X1, X2, X3, X4)
U131(active(X1), X2, X3, X4) → U131(X1, X2, X3, X4)
U131(X1, active(X2), X3, X4) → U131(X1, X2, X3, X4)
U131(X1, X2, active(X3), X4) → U131(X1, X2, X3, X4)
U131(X1, X2, X3, active(X4)) → U131(X1, X2, X3, X4)
U132(mark(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, mark(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, mark(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, mark(X4)) → U132(X1, X2, X3, X4)
U132(active(X1), X2, X3, X4) → U132(X1, X2, X3, X4)
U132(X1, active(X2), X3, X4) → U132(X1, X2, X3, X4)
U132(X1, X2, active(X3), X4) → U132(X1, X2, X3, X4)
U132(X1, X2, X3, active(X4)) → U132(X1, X2, X3, X4)
U133(mark(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, mark(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, mark(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, mark(X4)) → U133(X1, X2, X3, X4)
U133(active(X1), X2, X3, X4) → U133(X1, X2, X3, X4)
U133(X1, active(X2), X3, X4) → U133(X1, X2, X3, X4)
U133(X1, X2, active(X3), X4) → U133(X1, X2, X3, X4)
U133(X1, X2, X3, active(X4)) → U133(X1, X2, X3, X4)
U134(mark(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, mark(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, mark(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, mark(X4)) → U134(X1, X2, X3, X4)
U134(active(X1), X2, X3, X4) → U134(X1, X2, X3, X4)
U134(X1, active(X2), X3, X4) → U134(X1, X2, X3, X4)
U134(X1, X2, active(X3), X4) → U134(X1, X2, X3, X4)
U134(X1, X2, X3, active(X4)) → U134(X1, X2, X3, X4)
U135(mark(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, mark(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, mark(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, mark(X4)) → U135(X1, X2, X3, X4)
U135(active(X1), X2, X3, X4) → U135(X1, X2, X3, X4)
U135(X1, active(X2), X3, X4) → U135(X1, X2, X3, X4)
U135(X1, X2, active(X3), X4) → U135(X1, X2, X3, X4)
U135(X1, X2, X3, active(X4)) → U135(X1, X2, X3, X4)
U136(mark(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, mark(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, mark(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, mark(X4)) → U136(X1, X2, X3, X4)
U136(active(X1), X2, X3, X4) → U136(X1, X2, X3, X4)
U136(X1, active(X2), X3, X4) → U136(X1, X2, X3, X4)
U136(X1, X2, active(X3), X4) → U136(X1, X2, X3, X4)
U136(X1, X2, X3, active(X4)) → U136(X1, X2, X3, X4)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U23(mark(X)) → U23(X)
U23(active(X)) → U23(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U33(mark(X)) → U33(X)
U33(active(X)) → U33(X)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
U43(mark(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, mark(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, mark(X3)) → U43(X1, X2, X3)
U43(active(X1), X2, X3) → U43(X1, X2, X3)
U43(X1, active(X2), X3) → U43(X1, X2, X3)
U43(X1, X2, active(X3)) → U43(X1, X2, X3)
U44(mark(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, mark(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, mark(X3)) → U44(X1, X2, X3)
U44(active(X1), X2, X3) → U44(X1, X2, X3)
U44(X1, active(X2), X3) → U44(X1, X2, X3)
U44(X1, X2, active(X3)) → U44(X1, X2, X3)
U45(mark(X1), X2) → U45(X1, X2)
U45(X1, mark(X2)) → U45(X1, X2)
U45(active(X1), X2) → U45(X1, X2)
U45(X1, active(X2)) → U45(X1, X2)
U46(mark(X)) → U46(X)
U46(active(X)) → U46(X)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X)) → U52(X)
U52(active(X)) → U52(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
U71(mark(X)) → U71(X)
U71(active(X)) → U71(X)
U81(mark(X)) → U81(X)
U81(active(X)) → U81(X)
U91(mark(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, mark(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, mark(X3)) → U91(X1, X2, X3)
U91(active(X1), X2, X3) → U91(X1, X2, X3)
U91(X1, active(X2), X3) → U91(X1, X2, X3)
U91(X1, X2, active(X3)) → U91(X1, X2, X3)
U92(mark(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, mark(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, mark(X3)) → U92(X1, X2, X3)
U92(active(X1), X2, X3) → U92(X1, X2, X3)
U92(X1, active(X2), X3) → U92(X1, X2, X3)
U92(X1, X2, active(X3)) → U92(X1, X2, X3)
U93(mark(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, mark(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, mark(X3)) → U93(X1, X2, X3)
U93(active(X1), X2, X3) → U93(X1, X2, X3)
U93(X1, active(X2), X3) → U93(X1, X2, X3)
U93(X1, X2, active(X3)) → U93(X1, X2, X3)
U94(mark(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, mark(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, mark(X3)) → U94(X1, X2, X3)
U94(active(X1), X2, X3) → U94(X1, X2, X3)
U94(X1, active(X2), X3) → U94(X1, X2, X3)
U94(X1, X2, active(X3)) → U94(X1, X2, X3)
U95(mark(X1), X2) → U95(X1, X2)
U95(X1, mark(X2)) → U95(X1, X2)
U95(active(X1), X2) → U95(X1, X2)
U95(X1, active(X2)) → U95(X1, X2)
U96(mark(X)) → U96(X)
U96(active(X)) → U96(X)

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

(609) PisEmptyProof (EQUIVALENT transformation)

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

(610) TRUE

(611) Obligation:

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

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

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